<?php
	/**
	 * @author Dragan
	 * @date 2012-07-04
	 */
	class RepositoryController extends BaseController{

		/**
		 * 
		 * @param String $doi
		 */
		public function searchByDoi($doi){
			$document = $this->_model->searchByDoi($doi);
			return $document;
		}
		
		/**
		 * 
		 * @param String $uid
		 */
		public function searchByUid($uid){
			$document = $this->_model->searchByUid($uid);
			return $document;
		}
		
		public function searchByTitle($title){
			$document = $this->_model->searchByTitle($title);
			return $document;
		}
	}